﻿<phone:PhoneApplicationPage xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
                            xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
                            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                            xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
                            x:Class="AuchanScan.Views.EnCaissePage" mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800" Orientation="Portrait">
  <phone:PhoneApplicationPage.ApplicationBar>
    <shell:ApplicationBar Mode="Minimized" Opacity="0" ForegroundColor="#FFED1B2E">
      <shell:ApplicationBar.MenuItems>
        <shell:ApplicationBarMenuItem IsEnabled="True" Text="caisse : valider les achats" Click="ApplicationBarMenuItem_Click"/>
      </shell:ApplicationBar.MenuItems>
    </shell:ApplicationBar>
  </phone:PhoneApplicationPage.ApplicationBar>

  <Grid x:Name="LayoutRoot" Margin="0,0,0,-33">
    <Grid.Background>
      <ImageBrush Stretch="Fill" ImageSource="/images/Page_Background2.png"/>
    </Grid.Background>
    <Border HorizontalAlignment="Center" VerticalAlignment="Bottom" BorderBrush="White" BorderThickness="20" Margin="0,0,0,63">
      <Image x:Name="QRCode" />
    </Border>
    <TextBlock Margin="24,191,0,0" TextWrapping="Wrap" Text="Montrer ce code à une hôtesse pour valider vos achats" VerticalAlignment="Top" FontFamily="Segoe WP" FontSize="26.667" HorizontalAlignment="Left" Foreground="#DE000000"/>
    <Image Source="/images/auchan.png" VerticalAlignment="Top" Margin="24,58,24,0"/>
    <Grid x:Name="ValidBasketGrid" Height="300" VerticalAlignment="Top" Visibility="Collapsed">
      <Grid.Background>
        <SolidColorBrush Color="#FF181818"/>
      </Grid.Background>
      <TextBlock Margin="12,8,12,0" TextWrapping="Wrap" Text="Espace réservé aux hôtesses de caisses" VerticalAlignment="Top" Foreground="White" FontSize="32" FontFamily="Segoe WP SemiLight"/>
      <TextBox x:Name="ValidBasket" Height="79" Margin="12,0,12,61" TextWrapping="Wrap" VerticalAlignment="Bottom" InputScope="Number" Foreground="#DEFFFFFF" Background="#FF1F1F1F" TextChanged="ValidBasket_TextChanged"/>
    </Grid>
  </Grid>
</phone:PhoneApplicationPage>